From: Aryeh Gregor Date: Wed, 28 Feb 2007 17:25:41 +0000 (+0000) Subject: Explicitly mark public methods public X-Git-Tag: 1.31.0-rc.0~53940 X-Git-Url: http://git.cyclocoop.org/%22.%24info%5B?a=commitdiff_plain;h=1ad70e60d32afdede6748bee7f4adf45d88caa82;p=lhc%2Fweb%2Fwiklou.git Explicitly mark public methods public --- diff --git a/includes/Parser.php b/includes/Parser.php index 7810f1eff7..14d45bd3de 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -4648,11 +4648,11 @@ class Parser * @param $section Integer: section number * @return string text of the requested section */ - function getSection( $text, $section ) { + public function getSection( $text, $section ) { return $this->extractSections( $text, $section, "get" ); } - function replaceSection( $oldtext, $section, $text ) { + public function replaceSection( $oldtext, $section, $text ) { return $this->extractSections( $oldtext, $section, "replace", $text ); }